/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __UART_H
#define __UART_H

#ifdef __cplusplus
 extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f0xx.h"
#include "stm32f0xx_rcc.h"
#include "stm32f0xx_gpio.h"	 
#include "stm32f0xx_usart.h"
#include "stm32f0_discovery.h"


/* Exported constants --------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void UART_Config(uint32_t baud_rate);
void UART_Write(uint8_t a_byte);
uint32_t UART_Ready(void);
	 
void UART_HookFunc_UART_IT_RXNE(uint32_t ch);	 
void UART_HookFunc_UART_IT_TXE(void);	 

#endif
	 
